<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Transdmin Light</title>

<!-- CSS -->
<link href="<spring:url value="/admin/style/css/transdmin.css"/>" rel="stylesheet" type="text/css" media="screen" />
<!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="<spring:url value="/admin/style/css/ie6.css"/>" /><![endif]-->
<!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="<spring:url value="/admin/style/css/ie7.css"/>" /><![endif]-->

<!-- JavaScripts-->
<script type="text/javascript" src="<spring:url value="/admin/style/js/jquery.js"/>"></script>
<script type="text/javascript" src="<spring:url value="/admin/style/js/jNice.js"/>"></script>
</head>

<body>
	<div id="wrapper">
    	<!-- h1 tag stays for the logo, you can use the a tag for linking the index page -->
    	<h1><a href="<spring:url value="/admin.do"/>"><span>Transdmin Light</span></a></h1>
        
        <!-- You can name the links with lowercase, they will be transformed to uppercase by CSS, we prefered to name them with uppercase to have the same effect with disabled stylesheet -->
        <ul id="mainNav">
        	<li><a href="<spring:url value="/admin.do"/>" class="active">DASHBOARD</a></li> <!-- Use the "active" class for the active menu item  -->
        	<li><a href="#">ADMINISTRATION</a></li>
        	<li><a href="#">DESIGN</a></li>
        	<li><a href="#">OPTION</a></li>
        	<li class="logout"><a href="#">LOGOUT</a></li>
        </ul>
        <!-- // #end mainNav -->
        
        <div id="containerHolder">
			<div id="container">
        		<div id="sidebar">
                	<ul class="sideNav">
                    	<li><a href="<spring:url value="/admin/category.do"/>">Category</a></li>
                    	<li><a href="<spring:url value="/admin/link.do"/>">Link</a></li>
                    	<li><a href="<spring:url value="/admin/blog.do"/>">Post</a></li>
                    </ul>
                    <!-- // .sideNav -->
                </div>    
                <!-- // #sidebar -->
                
                <!-- h2 stays for breadcrumbs -->
                <h2><a href="<spring:url value="/admin"/>">Dashboard</a> </h2>
                
                <div id="main">
                	<form action="" class="jNice">
                	<br/>
					<p>当前共有&nbsp;<strong><a href="<spring:url value="/admin/category.do"/>"><c:out value="${categoryNumber }"/></a></strong>&nbsp;个分类</p><br/>
					<p>当前共有&nbsp;<strong><a href="<spring:url value="/admin/blog.do"/>"><c:out value="${blogNumber }"/></a></strong>&nbsp;篇文章</p><br/>
					<p>当前共有&nbsp;<strong><a href="<spring:url value="/admin/link.do"/>"><c:out value="${linkNumber }"/></a></strong>&nbsp;个链接</p><br/>
                       
                    </form>
                </div>
                <!-- // #main -->
                
                <div class="clear"></div>
            </div>
            <!-- // #container -->
        </div>	
        <!-- // #containerHolder -->
        
        <p id="footer">Feel free to use and customize it. <a href="http://www.perspectived.com">Credit is appreciated.</a></p>
    </div>
    <!-- // #wrapper -->
</body>
</html>
